<?php

namespace app\common\controller;

class ApiResult
{
    public $code;

    public $success;

    public $msg;

    public $data;

    public function __construct()
    {
        $this->code = 0;
        $this->success = false;
        $this->msg = "操作成功";
        $this->data = [];
    }
}